@extends('admin._layouts.default')

@section('main')

        <div class="row-fluid">
          <div class="span3">
            <div class="content">
              <div class="row-fluid well well-small">
                  <img class="row-fluid" src="{{ $customer->avatar }}">
              </div>
              <ul class="nav nav-tabs nav-stacked">
                <li><a href="#"><i class="fa fa-user"></i> {{ $customer->name }}</a></li>
                <li><a href="#"><i class="fa fa-wechat"></i> {{ $customer->nickname }}</a></li>
                <li><a href="#"><i class="fa fa-long-arrow-up"></i> 身高：{{ $parm->height }}</a></li>
                <li><a href="#"><i class="fa fa-tachometer"></i> 体重：{{ $parm->weight }}</a></li>
                <li><a href="#"><i class="fa fa-circle-o-notch"></i> 腰围：{{ $parm->waist }}</a></li>
                <li><a href="#"><i class="fa  fa-circle-o"></i> 领围：{{ $parm->neck }}</a></li>
                <li><a href="#"><i class="fa fa-arrows-v"></i> 鞋码：{{ $parm->shoe }}</a></li>
                <li><a href="#"><i class="fa fa-briefcase"></i> 职业：{{ $parm->job }}</a></li>
                <li><a href="#"><i class="fa fa-birthday-cake"></i> 年龄：{{ $parm->age }}</a></li>
                <li><a href="#"><i class="fa fa-heart"></i> 偏好：{{ $parm->fondness }}</a></li>
                <li><a href="#"><i class="fa fa-bug"></i> 常见困扰：{{ $parm->other }}</a></li>
              </ul>
            </div> <!-- End .content -->
          </div><!-- End .span3 -->

          <div class="span9">
            <div class="row-fluid legend profile">
              <div class="row-fluid ">
                <div class="span8">
                  <h3>预约体验处理<small class="mg5"><i class="icon-calendar"></i> 期望来访日期: {{ date('Y-m-d H点',$appoint->start) }}</small></h3>
                </div>
                <div class="span4">
                  <div class=" pull-right">
                    <a class="btn" href="{{ route('admin.appoints.index') }}"><i class="fa fa-remove"></i> 返回预约日程表</a>
                    <!--<button class="btn btn-primary">发货</button> -->
                  </div>
                </div>
              </div>
            </div> <!-- End .legend -->


            <!-- 搭配方案开始 -->
              <h3><span><i class="fa fa-car"></i> 预约回复</span></h3>
              <div>

            <form class="form-horizontal row-fluid" action="#">
            <!-- 说明开始 -->
              <div class="form-row control-group row-fluid">
                <div class="controls span7">
                  <textarea rows="3" class="row-fluid autogrow" id="elastic-textarea" placeholder="回复内容.."></textarea>
                </div>
              </div>
            <!-- 说明结束 -->
              <div class="form-actions row-fluid">
                <div class="span5 offset3">
                  <button type="submit" class="btn btn-primary"><i class="fa fa-paper-plane"></i> 接受来访</button>
                  <a class="btn btn-secondary" href="#" data-toggle="modal" data-target="#decline"><i class="fa fa-frown-o"></i> 无法接待</a>
                  <!-- 无法满足确认开始 -->
                  <div id="decline" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" >
                      <div class="modal-dialog modal-sm">
                          <div class="modal-content">
                              <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                                <h3 class="modal-title" id="declineLabel">请说明下拒绝理由吧</h3>
                              </div>
                              <div class="modal-body">
                                  <textarea rows="3" class="row-fluid autogrow" id="declinereson">由于各种原因，我们无法接待您的本次预约体验，期待保持联络！</textarea>
                              </div>
                              <div class="modal-footer">
                              <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                              <button type="button" class="btn btn-primary"><i class="fa fa-paper-plane-o"></i> 确定</button>
                              </div>
                          </div>
                        </div>
                    </div>
                  <!-- 无法满足确认结束 -->
                </div>
              </div>
            </form>

              </div>
              <!-- 搭配方案结束 -->



            </div> <!-- End .content -->
          </div><!-- End .span9 -->


@stop

@section('script')
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/jquery.peity.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/jquery.uniform.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/chosen/chosen/chosen.jquery.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/plugins/flot/jquery.flot.js') }}"></script>
<script src="{{ URL::asset('web/js/scripts.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('web/js/jnavigate.jquery.min.js') }}"></script>
@stop
